/**
 * Copyright (C) 2013-2014 the original author or authors.
 */
package com.foreveross.bsl.mam.app.application;

import java.util.List;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

import com.foreveross.bsl.mam.app.application.vo.AppCategoryVo;

/**
 * @description
 * 
 * @author TANZHIXIONG
 * @version v1.0
 * 
 * @2013-6-21
 * 
 */
@Path(value = "/appCategorys")
public interface AppCategoryApplication {

	@GET
	@Path("/get/{id}")
	@Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
	public AppCategoryVo getEntity(@PathParam("id") String id);

	@GET
	@Path("/findAll")
	@Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
	public List<AppCategoryVo> findAll();

}
